﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008C3 RID: 2243
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HBNFICIFNNA : IMessage<HBNFICIFNNA>, IMessage, IEquatable<HBNFICIFNNA>, IDeepCloneable<HBNFICIFNNA>, IBufferMessage
	{
		// Token: 0x17001C71 RID: 7281
		// (get) Token: 0x060064B9 RID: 25785 RVA: 0x0010EC10 File Offset: 0x0010CE10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HBNFICIFNNA> Parser
		{
			get
			{
				return HBNFICIFNNA._parser;
			}
		}

		// Token: 0x17001C72 RID: 7282
		// (get) Token: 0x060064BA RID: 25786 RVA: 0x0010EC17 File Offset: 0x0010CE17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HBNFICIFNNAReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001C73 RID: 7283
		// (get) Token: 0x060064BB RID: 25787 RVA: 0x0010EC29 File Offset: 0x0010CE29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HBNFICIFNNA.Descriptor;
			}
		}

		// Token: 0x060064BC RID: 25788 RVA: 0x0010EC30 File Offset: 0x0010CE30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HBNFICIFNNA()
		{
		}

		// Token: 0x060064BD RID: 25789 RVA: 0x0010EC38 File Offset: 0x0010CE38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HBNFICIFNNA(HBNFICIFNNA other) : this()
		{
			this.miracleSelectId_ = other.miracleSelectId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060064BE RID: 25790 RVA: 0x0010EC5D File Offset: 0x0010CE5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HBNFICIFNNA Clone()
		{
			return new HBNFICIFNNA(this);
		}

		// Token: 0x17001C74 RID: 7284
		// (get) Token: 0x060064BF RID: 25791 RVA: 0x0010EC65 File Offset: 0x0010CE65
		// (set) Token: 0x060064C0 RID: 25792 RVA: 0x0010EC6D File Offset: 0x0010CE6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MiracleSelectId
		{
			get
			{
				return this.miracleSelectId_;
			}
			set
			{
				this.miracleSelectId_ = value;
			}
		}

		// Token: 0x060064C1 RID: 25793 RVA: 0x0010EC76 File Offset: 0x0010CE76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HBNFICIFNNA);
		}

		// Token: 0x060064C2 RID: 25794 RVA: 0x0010EC84 File Offset: 0x0010CE84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HBNFICIFNNA other)
		{
			return other != null && (other == this || (this.MiracleSelectId == other.MiracleSelectId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060064C3 RID: 25795 RVA: 0x0010ECB4 File Offset: 0x0010CEB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MiracleSelectId != 0U)
			{
				num ^= this.MiracleSelectId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060064C4 RID: 25796 RVA: 0x0010ECF3 File Offset: 0x0010CEF3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060064C5 RID: 25797 RVA: 0x0010ECFB File Offset: 0x0010CEFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060064C6 RID: 25798 RVA: 0x0010ED04 File Offset: 0x0010CF04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MiracleSelectId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.MiracleSelectId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060064C7 RID: 25799 RVA: 0x0010ED38 File Offset: 0x0010CF38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MiracleSelectId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MiracleSelectId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060064C8 RID: 25800 RVA: 0x0010ED76 File Offset: 0x0010CF76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HBNFICIFNNA other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MiracleSelectId != 0U)
			{
				this.MiracleSelectId = other.MiracleSelectId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060064C9 RID: 25801 RVA: 0x0010EDA7 File Offset: 0x0010CFA7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060064CA RID: 25802 RVA: 0x0010EDB0 File Offset: 0x0010CFB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MiracleSelectId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002680 RID: 9856
		private static readonly MessageParser<HBNFICIFNNA> _parser = new MessageParser<HBNFICIFNNA>(() => new HBNFICIFNNA());

		// Token: 0x04002681 RID: 9857
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002682 RID: 9858
		public const int MiracleSelectIdFieldNumber = 14;

		// Token: 0x04002683 RID: 9859
		private uint miracleSelectId_;
	}
}
